package cn.iocoder.yudao.module.design.controller.admin.diary.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name =  "管理后台 - 日记 Excel 导出 Request VO", description = "参数和 DiaryPageReqVO 是一致的")
@Data
public class DiaryExportReqVO {

    @Schema(description = "日记日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] date;

    @Schema(description = "所属组")
    private Long houseId;

    @Schema(description = "所属项")
    private Long nodeId;

    @Schema(description = "节点信息")
    private String comment;

    @Schema(description = "图片路径")
    private String url;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
